import Page from '../../../../vue-common/models/Page';
import BaseModule from './base-module'
import Ajax from '../../lib/ajax'

class AddressModule extends BaseModule{
    state={
        items: []
    }
    actions={
        async getAll(context){
            var response = await Ajax.get('/api/services/app/MemberShippingAddress/GetAll');
            context.state.items = response.data.result;
        }
    };
    mutations={
    }
}

const addressModule = new AddressModule();
export default addressModule;